#!/bin/fish
# tldr: it works like this:
#     cp $config $digfig/
# simple.   ... 'cept...

#set digfig ~/gittings/Digit/digfiles
set digfiles ~/gittings/Digit/digfiles
# 

# may reformat as a list, and a for/while something... but for now...

# this is still being populated.  dont rely upon it being "all".

#cp ~/.config/i3/config $digfiles/.config/i3/
#or, should i have them written out as copyable commands too
#cp ~/.config/i3/config ~/gittings/Digit/digfiles/.config/i3/
#yus

# so for now, proceeding with a scruffy manual list of copies.
#   ... just to get it done.    ... this is over a decade overdue.
# so in this style...
# cp ~/.config/ ~/gittings/Digit/digfiles/.config/

# shells

# fish
cp ~/.fish ~/gittings/Digit/digfiles/
# and for when i made fish complicated:
cp ~/.slowfish.fish ~/gittings/Digit/digfiles/
cp ~/.fastfish.fish ~/gittings/Digit/digfiles/

# bash
cp ~/.bashrc ~/gittings/Digit/digfiles/

# zsh

#

# scripts

# wmrotate
cp ~/bin/wmrotate ~/gittings/Digit/digfiles/bin/wmrotate
# wmrotate's uhhh, deskop file...?  something...
# wmrotate's uhhh, xinit file...?  something...
# wmrotate's uhhh, loginmanager file...?  something...
# wmrotate's uhhh, loginmanager file...?  something...
# wmrotate's uhhh, loginmanager file...?  something...
# wmrotate's uhhh, loginmanager file...?  something...

# window managers

# xmonad

# openbox:    [check got all extra menu or alternative configs]
cp ~/.config/openbox/menu.xml ~/gittings/Digit/digfiles/.config/openbox/menu.xml
cp ~/.config/openbox/rc.xml ~/gittings/Digit/digfiles/.config/openbox/rc.xml

# herbstluftwm

# i3
cp ~/.config/i3/config ~/gittings/Digit/digfiles/.config/i3/


# clfswm

#


# text-editors

# emacs: [ got complicated different versions for a while there... ]
# whatever simple one i'm using:
cp ~/.config/.emacs ~/gittings/Digit/digfiles/.emacs
# but properly, i need to keep copies of...
#  . . . .   of...   idk, .init.el or .emacs.d or... ... versions...

# yi

# mcedit

# nano

# vim

# micro

# mg

#

# web browsers

# qutebrowser

# firefoxen

# uzbl

# netsurf

# librewolf

#

#


# system

# bedrock conf

# package managers 



# pre-fancy end message
echo "and since this script isnt fancy yet,
        remember to go update the git.
        you remember how, right?  :::
git add, git commit -a -m, git push"


#rly should have it fancy though...

# variableised, to facilitate verbosity n such...

# with:

# -c --check     [default] checks for changes
# -n --no-checks override check, copies even if files are same.
# -v --verbose   [default] verbosity, so it spits progress reports, says the command its doing
# -a --ask       [default~] asks before each
# -d --diff      display diffs of each.  (verbose ask)
# -e --execute   override ask, just do it.
# -p --pretend   preview, to just spit out the commands without doing them (like override overright)
# -b --backups   make/update backup file while copying.
# -B --backups   make dated backups while copying.
# -o --overright  [default] override backup   (rly needs renaming)
# -q --quiet     quiet mode
# -f --full      full mode, does everything.
# -g --gitpipe   pipe in git features, like branching.
# -x --extract   copies from digfiles, populates file system.  (or should be, -r --restore ...?)
# -h --help      display this help, listing options.


# examples

#digfiler -de  # displays the changes, and applies them, without asking.
#digfiler -eqn # copies all, displays nothing, asks nothing, checks nothing.  (default at time of writing...) ;)
#digfiler -cva # checks, verbose, asks.  [default] (once made fancy). ;)
#digfiler -qa  # wat. interesting combo. how displays? brevity mode for the questions, no new lines?
#digfiler -g add ~/.slowfish.fish $digfiles/ # adds new file in the git tracker, and commits.
#digfiler -g push # updates the git repo.
#digfiler -g   # same as digfiler -g push.
#digfiler -f   # same as doing a digfiler -cvad
#digfiler -pa  # displays preview and asks, copy all, or ask for each, or none.
#digfiler -fqe # no ask
#digfiler -fna # ask every
#digfiler -xa  # restores all the things, asking one by one.  n_n

###  well i can dream.  n_n
